package com.hnyc.goods.mapper;

import java.util.List;
import com.hnyc.goods.domain.GoodsLocal;

/**
 * goodsMapper接口
 * 
 * @author zero
 * @date 2023-03-10
 */
public interface GoodsLocalMapper 
{
    /**
     * 查询goods
     * 
     * @param id goods主键
     * @return goods
     */
    public GoodsLocal selectGoodsLocalById(Long id);

    /**
     * 查询goods列表
     * 
     * @param goodsLocal goods
     * @return goods集合
     */
    public List<GoodsLocal> selectGoodsLocalList(GoodsLocal goodsLocal);

    /**
     * 新增goods
     * 
     * @param goodsLocal goods
     * @return 结果
     */
    public int insertGoodsLocal(GoodsLocal goodsLocal);

    /**
     * 修改goods
     * 
     * @param goodsLocal goods
     * @return 结果
     */
    public int updateGoodsLocal(GoodsLocal goodsLocal);

    /**
     * 删除goods
     * 
     * @param id goods主键
     * @return 结果
     */
    public int deleteGoodsLocalById(Long id);

    /**
     * 批量删除goods
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGoodsLocalByIds(Long[] ids);
}
